//
//  UIImage+SelfDefined.m
//  PostMessa
//
//  Created by never down on 15-5-28.
//  Copyright (c) 2015年 ygy_ios. All rights reserved.
//

#import "UIImage+SelfDefined.h"

@implementation UIImage (SelfDefined)

+ (UIImage *)imageNamed:(NSString *)name{
    NSLog(@"imageNamed:%@",name);
    return [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/%@",[[NSBundle mainBundle] bundlePath],name]];
}

@end
